﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" assembly="CustomerContactSystem.Core" namespace="CustomerContactSystem.Core.Model">
  <class name="EnquiryFixYourStreetStatusUpdate" table="EnquiryFixYourStreetStatusUpdates">
    <id name="Id">
      <generator class="native" />
    </id>
    <property name="DateCreated" not-null="true" />
    <many-to-one name="Enquiry" class="Enquiry" not-null="true" foreign-key="FK_EnquiryFixYourStreetStatusUpdates_Enquiries"></many-to-one>
    <property name="FixYourStreetId" not-null="true" />
    <property name="Status" not-null="true" length="1" />
    <property name="StatusSent" not-null="true" />
    <property name="DateSent" not-null="false" />
  </class>
</hibernate-mapping>